﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kooboo.Commerce
{
    using Kooboo.Commerce.AddIn;
     
    public interface IValidationRule
    {
        int Id
        {
            get;
            set;
        }

        IValidator Validator
        {
            get;
            set;
        }

        List<ValidatorParameter> Parameters
        {
            get;
            set;
        }

        string ErrorMessage
        {
            get;
            set;
        }
    }
}
